package com.bj58.ecdata.dao.annotation;

import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target({java.lang.annotation.ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface Column
{
  String name() default "fieldName";
  
  String setFuncName() default "setField";
  
  String getFuncName() default "getField";
  
  boolean defaultDBValue() default false;
}

